package cc.rengu.redp.system.service;


import cc.rengu.redp.system.domain.HolidayInfo;
import cc.rengu.redp.system.domain.Holidays;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author qiujunning
 */
public interface HolidaysService extends IService<HolidayInfo> {

    /**
     * 设置调班日期
     *
     * @param dateStr
     */
    void updatePubHolidays(String dateStr) throws Exception;

    /**
     * 获取所在月的全部节假日信息
     *
     * @return List<Holidays>
     */
    List<HolidayInfo> getHolidaysByDate(String currDate);
}